package com.mt.demo.domain;

import com.mt.demo.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 投票问题对象 mt_vote_question
 * 
 * @author gary
 * @date 2025-08-11
 */
public class MtVoteQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问题ID */
    private Long questionId;

    /** 投票ID */
    @Excel(name = "投票ID")
    private Long voteId;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String question;

    /** 是否多选 multi-多选 single-单选 */
    @Excel(name = "是否多选 multi-多选 single-单选")
    private String multiSelect;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setQuestionId(Long questionId) 
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }

    public void setVoteId(Long voteId) 
    {
        this.voteId = voteId;
    }

    public Long getVoteId() 
    {
        return voteId;
    }

    public void setQuestion(String question) 
    {
        this.question = question;
    }

    public String getQuestion() 
    {
        return question;
    }

    public void setMultiSelect(String multiSelect) 
    {
        this.multiSelect = multiSelect;
    }

    public String getMultiSelect() 
    {
        return multiSelect;
    }

    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("questionId", getQuestionId())
            .append("voteId", getVoteId())
            .append("question", getQuestion())
            .append("multiSelect", getMultiSelect())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
